import React, { Component } from 'react';
import {observer, inject} from 'mobx-react';

@inject('store')
@observer
class Index extends Component {
  render(){
    return (<div><button onClick={()=>{
      //修改
      this.props.store.erpStore.setTxt('list');
    }}>list</button></div>);
  }
}

export default Index;
